package NGUYENDUCVIETPRACTICELV2;

public class HCNController {
	private HCN m_obj;
	private HCNModel m_objModel;
	
	public HCNController(HCN obj){
		m_obj = obj;
		m_objModel = new HCNModel();
	}
	
	public double PerA(int Opt){
		if(Opt == 1)
			return m_objModel.Chuvi(m_obj);
		else 
			return m_objModel.Dientich(m_obj);
	}
}
